package com.itheima.mall.api.pms;

import com.itheima.mall.pojo.pms.Product;
import com.itheima.mall.vo.PageResult;

import java.util.List;

public interface ProductServiceApi {
    //创建商品
    void create(Product product);

    PageResult list(Integer brandId, String keyword, Integer pageNum, Integer pageSize, Integer productCategoryId, String productSn, Integer publishStatus, Integer verifyStatus);

    Product findProductById(Long id);

    void updateDeleteStatus(Product product);

    void updateById(Product product);

    Product updateInfoById(Long id);

    List<Product> simpleList(String keyword);
}
